using UnityEngine;
using System.Collections;

public class hoverTrigger : MonoBehaviour {

	private float hoverforce = 16.0f;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnTriggerStay (Collider collider) {
        if (collider.gameObject.tag == "Pet") {
			collider.attachedRigidbody.AddForce (Vector3.up * hoverforce , ForceMode.Acceleration);
		}
    }
}
